package com.lagou.edu.utils;

/**
 * @Description TODO
 * @Classname StringUtils
 * @Date 2021/3/20 18:37
 * @Author song'xiao
 */
public class StringUtils {

    /**
     * 首字母转小写
     * @param s
     * @return
     */
    public static String toLowerCaseFirstOne(String s) {
        if (Character.isLowerCase(s.charAt(0))) {
            return s;
        } else {
            return (new StringBuilder()).append(Character.toLowerCase(s.charAt(0))).append(s.substring(1)).toString();
        }
    }

}
